import request from '@/utils/request'

export const getCaptcha = () => {
  return request.get('/captcha/image')
}

export const login = (tel) => {
  return request.post('/passport/login', tel)
}

export const getCode = () => {
  return request.get('/captcha/sendSmsCaptcha')
}
